<template>
    <div>
         <List>
            <ListItem>
                <ListItemMeta  title="名称" :description="loginManager.name" />
            </ListItem>
            <ListItem>
                <ListItemMeta  title="账号" :description="loginManager.account" />
            </ListItem>
            <ListItem>
                <ListItemMeta  title="类型" :description="loginManager.role == 1 ? '超级管理员' : '管理员'" />
            </ListItem>
        </List>
    </div>
</template>

<script>
export default {
    name: 'userinfo',
    data() {
        return {
            loginManager: null
        }
    },
    mounted(){
        this.loginManager = JSON.parse(window.localStorage.getItem('LoginManager'))
    }

}
</script>

<style scoped>

</style>
